package org.brownflat.fxdate.service;

import org.brownflat.fxdate.model.Currency;
import org.brownflat.fxdate.model.CurrencyPair;
import org.brownflat.fxdate.model.Holiday;
import org.brownflat.fxdate.model.SettlementDate;
import org.brownflat.fxdate.model.TradingDate;
import org.joda.time.LocalDate;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>&copy Rupert Jones 2012</p>
 *
 * @author rup
 */
@Component
public class DefaultDateService implements DateService {

    @Override
    public List<Holiday> findHolidaysFor(Currency currency, LocalDate start, LocalDate end) {
        return null;
    }

    @Override
    public List<SettlementDate> findSpotSettlementDatesFor(CurrencyPair pair, LocalDate start, LocalDate end) {
        return null;
    }

    public SettlementDate findSpotSettlementDateFor(CurrencyPair pair, TradingDate tradingDate) {
        return null;
    }

    public boolean isTradingDate(Currency currency, LocalDate date) {
        return true;
    }

    public TradingDate getTradingDateFor(CurrencyPair pair, LocalDate when) {
        return null;
    }
}
